using System;
using System.ComponentModel;
using System.Data;
using System.Text;
using System.Windows.Forms;
using C1.Win.C1Input;
using C1.Win.C1TrueDBGrid;
using PCSComProcurement.Purchase.BO;
using PCSComUtils.Common;
using PCSComUtils.PCSExc;
using PCSUtils.Log;
using PCSUtils.Utils;
using CancelEventArgs = System.ComponentModel.CancelEventArgs;

namespace PCSProcurement.Purchase
{
	/// <summary>
	/// Summary description for DeliveryApproval.
	/// </summary>
	public class DeliveryApproval : Form
	{
		private TextBox txtPONo;
		private Button btnPONo;
		private Label lblPONo;
		private Label lblToStartDate;
		private Label lblFromStartDate;
		private Label lblCategory;
		private TextBox txtCategory;
		private Button btnCategory;
		private TextBox txtPartName;
		private TextBox txtModel;
		private TextBox txtPartNumber;
		private Button btnPartName;
		private Label lblPartName;
		private Button btnPartNumber;
		private Label lblPartNumber;
		private Label lblModel;
		private C1DateEdit dtmToDate;
		private C1DateEdit dtmFromDate;
		private Button btnShowDetail;
		private Button btnSearch;
		private Button btnHelp;
		private Button btnApprove;
		private Button btnClose;
		private CheckBox chkSelectAll;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private Container components = null;
		const string THIS = "PCSProcurement.Purchase.DeliveryApproval";
		private C1TrueDBGrid dgrdData;
		private DataTable dtbGridLayOut = new DataTable();
		private DataSet dstData = new DataSet();
		private bool blnStateOfCheck = false;

		public DeliveryApproval()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DeliveryApproval));
			this.txtPONo = new System.Windows.Forms.TextBox();
			this.btnPONo = new System.Windows.Forms.Button();
			this.lblPONo = new System.Windows.Forms.Label();
			this.dtmToDate = new C1.Win.C1Input.C1DateEdit();
			this.dtmFromDate = new C1.Win.C1Input.C1DateEdit();
			this.lblToStartDate = new System.Windows.Forms.Label();
			this.lblFromStartDate = new System.Windows.Forms.Label();
			this.lblCategory = new System.Windows.Forms.Label();
			this.txtCategory = new System.Windows.Forms.TextBox();
			this.btnCategory = new System.Windows.Forms.Button();
			this.txtPartName = new System.Windows.Forms.TextBox();
			this.txtModel = new System.Windows.Forms.TextBox();
			this.txtPartNumber = new System.Windows.Forms.TextBox();
			this.btnPartName = new System.Windows.Forms.Button();
			this.lblPartName = new System.Windows.Forms.Label();
			this.btnPartNumber = new System.Windows.Forms.Button();
			this.lblPartNumber = new System.Windows.Forms.Label();
			this.lblModel = new System.Windows.Forms.Label();
			this.btnShowDetail = new System.Windows.Forms.Button();
			this.btnSearch = new System.Windows.Forms.Button();
			this.btnHelp = new System.Windows.Forms.Button();
			this.btnApprove = new System.Windows.Forms.Button();
			this.btnClose = new System.Windows.Forms.Button();
			this.dgrdData = new C1.Win.C1TrueDBGrid.C1TrueDBGrid();
			this.chkSelectAll = new System.Windows.Forms.CheckBox();
			((System.ComponentModel.ISupportInitialize)(this.dtmToDate)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dtmFromDate)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.dgrdData)).BeginInit();
			this.SuspendLayout();
			// 
			// txtPONo
			// 
			this.txtPONo.AccessibleDescription = resources.GetString("txtPONo.AccessibleDescription");
			this.txtPONo.AccessibleName = resources.GetString("txtPONo.AccessibleName");
			this.txtPONo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtPONo.Anchor")));
			this.txtPONo.AutoSize = ((bool)(resources.GetObject("txtPONo.AutoSize")));
			this.txtPONo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtPONo.BackgroundImage")));
			this.txtPONo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtPONo.Dock")));
			this.txtPONo.Enabled = ((bool)(resources.GetObject("txtPONo.Enabled")));
			this.txtPONo.Font = ((System.Drawing.Font)(resources.GetObject("txtPONo.Font")));
			this.txtPONo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtPONo.ImeMode")));
			this.txtPONo.Location = ((System.Drawing.Point)(resources.GetObject("txtPONo.Location")));
			this.txtPONo.MaxLength = ((int)(resources.GetObject("txtPONo.MaxLength")));
			this.txtPONo.Multiline = ((bool)(resources.GetObject("txtPONo.Multiline")));
			this.txtPONo.Name = "txtPONo";
			this.txtPONo.PasswordChar = ((char)(resources.GetObject("txtPONo.PasswordChar")));
			this.txtPONo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtPONo.RightToLeft")));
			this.txtPONo.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtPONo.ScrollBars")));
			this.txtPONo.Size = ((System.Drawing.Size)(resources.GetObject("txtPONo.Size")));
			this.txtPONo.TabIndex = ((int)(resources.GetObject("txtPONo.TabIndex")));
			this.txtPONo.Text = resources.GetString("txtPONo.Text");
			this.txtPONo.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtPONo.TextAlign")));
			this.txtPONo.Visible = ((bool)(resources.GetObject("txtPONo.Visible")));
			this.txtPONo.WordWrap = ((bool)(resources.GetObject("txtPONo.WordWrap")));
			this.txtPONo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPONo_KeyDown);
			this.txtPONo.Validating += new System.ComponentModel.CancelEventHandler(this.txtPONo_Validating);
			// 
			// btnPONo
			// 
			this.btnPONo.AccessibleDescription = resources.GetString("btnPONo.AccessibleDescription");
			this.btnPONo.AccessibleName = resources.GetString("btnPONo.AccessibleName");
			this.btnPONo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnPONo.Anchor")));
			this.btnPONo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnPONo.BackgroundImage")));
			this.btnPONo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnPONo.Dock")));
			this.btnPONo.Enabled = ((bool)(resources.GetObject("btnPONo.Enabled")));
			this.btnPONo.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnPONo.FlatStyle")));
			this.btnPONo.Font = ((System.Drawing.Font)(resources.GetObject("btnPONo.Font")));
			this.btnPONo.Image = ((System.Drawing.Image)(resources.GetObject("btnPONo.Image")));
			this.btnPONo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPONo.ImageAlign")));
			this.btnPONo.ImageIndex = ((int)(resources.GetObject("btnPONo.ImageIndex")));
			this.btnPONo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnPONo.ImeMode")));
			this.btnPONo.Location = ((System.Drawing.Point)(resources.GetObject("btnPONo.Location")));
			this.btnPONo.Name = "btnPONo";
			this.btnPONo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnPONo.RightToLeft")));
			this.btnPONo.Size = ((System.Drawing.Size)(resources.GetObject("btnPONo.Size")));
			this.btnPONo.TabIndex = ((int)(resources.GetObject("btnPONo.TabIndex")));
			this.btnPONo.Text = resources.GetString("btnPONo.Text");
			this.btnPONo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPONo.TextAlign")));
			this.btnPONo.Visible = ((bool)(resources.GetObject("btnPONo.Visible")));
			this.btnPONo.Click += new System.EventHandler(this.btnPONo_Click);
			// 
			// lblPONo
			// 
			this.lblPONo.AccessibleDescription = resources.GetString("lblPONo.AccessibleDescription");
			this.lblPONo.AccessibleName = resources.GetString("lblPONo.AccessibleName");
			this.lblPONo.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPONo.Anchor")));
			this.lblPONo.AutoSize = ((bool)(resources.GetObject("lblPONo.AutoSize")));
			this.lblPONo.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPONo.Dock")));
			this.lblPONo.Enabled = ((bool)(resources.GetObject("lblPONo.Enabled")));
			this.lblPONo.Font = ((System.Drawing.Font)(resources.GetObject("lblPONo.Font")));
			this.lblPONo.ForeColor = System.Drawing.Color.Black;
			this.lblPONo.Image = ((System.Drawing.Image)(resources.GetObject("lblPONo.Image")));
			this.lblPONo.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPONo.ImageAlign")));
			this.lblPONo.ImageIndex = ((int)(resources.GetObject("lblPONo.ImageIndex")));
			this.lblPONo.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPONo.ImeMode")));
			this.lblPONo.Location = ((System.Drawing.Point)(resources.GetObject("lblPONo.Location")));
			this.lblPONo.Name = "lblPONo";
			this.lblPONo.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPONo.RightToLeft")));
			this.lblPONo.Size = ((System.Drawing.Size)(resources.GetObject("lblPONo.Size")));
			this.lblPONo.TabIndex = ((int)(resources.GetObject("lblPONo.TabIndex")));
			this.lblPONo.Text = resources.GetString("lblPONo.Text");
			this.lblPONo.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPONo.TextAlign")));
			this.lblPONo.Visible = ((bool)(resources.GetObject("lblPONo.Visible")));
			this.lblPONo.Click += new System.EventHandler(this.lblPONo_Click);
			// 
			// dtmToDate
			// 
			this.dtmToDate.AcceptsEscape = ((bool)(resources.GetObject("dtmToDate.AcceptsEscape")));
			this.dtmToDate.AccessibleDescription = resources.GetString("dtmToDate.AccessibleDescription");
			this.dtmToDate.AccessibleName = resources.GetString("dtmToDate.AccessibleName");
			this.dtmToDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dtmToDate.Anchor")));
			this.dtmToDate.AutoSize = ((bool)(resources.GetObject("dtmToDate.AutoSize")));
			this.dtmToDate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmToDate.BackgroundImage")));
			this.dtmToDate.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dtmToDate.BorderStyle")));
			// 
			// dtmToDate.Calendar
			// 
			this.dtmToDate.Calendar.AccessibleDescription = resources.GetString("dtmToDate.Calendar.AccessibleDescription");
			this.dtmToDate.Calendar.AccessibleName = resources.GetString("dtmToDate.Calendar.AccessibleName");
			this.dtmToDate.Calendar.AnnuallyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmToDate.Calendar.AnnuallyBoldedDates")));
			this.dtmToDate.Calendar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmToDate.Calendar.BackgroundImage")));
			this.dtmToDate.Calendar.BoldedDates = ((System.DateTime[])(resources.GetObject("dtmToDate.Calendar.BoldedDates")));
			this.dtmToDate.Calendar.CalendarDimensions = ((System.Drawing.Size)(resources.GetObject("dtmToDate.Calendar.CalendarDimensions")));
			this.dtmToDate.Calendar.Enabled = ((bool)(resources.GetObject("dtmToDate.Calendar.Enabled")));
			this.dtmToDate.Calendar.FirstDayOfWeek = ((System.Windows.Forms.Day)(resources.GetObject("dtmToDate.Calendar.FirstDayOfWeek")));
			this.dtmToDate.Calendar.Font = ((System.Drawing.Font)(resources.GetObject("dtmToDate.Calendar.Font")));
			this.dtmToDate.Calendar.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmToDate.Calendar.ImeMode")));
			this.dtmToDate.Calendar.MonthlyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmToDate.Calendar.MonthlyBoldedDates")));
			this.dtmToDate.Calendar.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmToDate.Calendar.RightToLeft")));
			this.dtmToDate.Calendar.ShowClearButton = ((bool)(resources.GetObject("dtmToDate.Calendar.ShowClearButton")));
			this.dtmToDate.Calendar.ShowTodayButton = ((bool)(resources.GetObject("dtmToDate.Calendar.ShowTodayButton")));
			this.dtmToDate.Calendar.ShowWeekNumbers = ((bool)(resources.GetObject("dtmToDate.Calendar.ShowWeekNumbers")));
			this.dtmToDate.CaseSensitive = ((bool)(resources.GetObject("dtmToDate.CaseSensitive")));
			this.dtmToDate.Culture = ((int)(resources.GetObject("dtmToDate.Culture")));
			this.dtmToDate.CurrentTimeZone = ((bool)(resources.GetObject("dtmToDate.CurrentTimeZone")));
			this.dtmToDate.CustomFormat = resources.GetString("dtmToDate.CustomFormat");
			this.dtmToDate.DaylightTimeAdjustment = ((C1.Win.C1Input.DaylightTimeAdjustmentEnum)(resources.GetObject("dtmToDate.DaylightTimeAdjustment")));
			this.dtmToDate.DisplayFormat.CustomFormat = resources.GetString("dtmToDate.DisplayFormat.CustomFormat");
			this.dtmToDate.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmToDate.DisplayFormat.FormatType")));
			this.dtmToDate.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmToDate.DisplayFormat.Inherit")));
			this.dtmToDate.DisplayFormat.NullText = resources.GetString("dtmToDate.DisplayFormat.NullText");
			this.dtmToDate.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("dtmToDate.DisplayFormat.TrimEnd")));
			this.dtmToDate.DisplayFormat.TrimStart = ((bool)(resources.GetObject("dtmToDate.DisplayFormat.TrimStart")));
			this.dtmToDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dtmToDate.Dock")));
			this.dtmToDate.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("dtmToDate.DropDownFormAlign")));
			this.dtmToDate.EditFormat.CustomFormat = resources.GetString("dtmToDate.EditFormat.CustomFormat");
			this.dtmToDate.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmToDate.EditFormat.FormatType")));
			this.dtmToDate.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmToDate.EditFormat.Inherit")));
			this.dtmToDate.EditFormat.NullText = resources.GetString("dtmToDate.EditFormat.NullText");
			this.dtmToDate.EditFormat.TrimEnd = ((bool)(resources.GetObject("dtmToDate.EditFormat.TrimEnd")));
			this.dtmToDate.EditFormat.TrimStart = ((bool)(resources.GetObject("dtmToDate.EditFormat.TrimStart")));
			this.dtmToDate.EditMask = resources.GetString("dtmToDate.EditMask");
			this.dtmToDate.EmptyAsNull = ((bool)(resources.GetObject("dtmToDate.EmptyAsNull")));
			this.dtmToDate.Enabled = ((bool)(resources.GetObject("dtmToDate.Enabled")));
			this.dtmToDate.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("dtmToDate.ErrorInfo.BeepOnError")));
			this.dtmToDate.ErrorInfo.ErrorMessage = resources.GetString("dtmToDate.ErrorInfo.ErrorMessage");
			this.dtmToDate.ErrorInfo.ErrorMessageCaption = resources.GetString("dtmToDate.ErrorInfo.ErrorMessageCaption");
			this.dtmToDate.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("dtmToDate.ErrorInfo.ShowErrorMessage")));
			this.dtmToDate.ErrorInfo.ValueOnError = ((object)(resources.GetObject("dtmToDate.ErrorInfo.ValueOnError")));
			this.dtmToDate.Font = ((System.Drawing.Font)(resources.GetObject("dtmToDate.Font")));
			this.dtmToDate.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmToDate.FormatType")));
			this.dtmToDate.GapHeight = ((int)(resources.GetObject("dtmToDate.GapHeight")));
			this.dtmToDate.GMTOffset = ((System.TimeSpan)(resources.GetObject("dtmToDate.GMTOffset")));
			this.dtmToDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmToDate.ImeMode")));
			this.dtmToDate.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("dtmToDate.InitialSelection")));
			this.dtmToDate.Location = ((System.Drawing.Point)(resources.GetObject("dtmToDate.Location")));
			this.dtmToDate.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("dtmToDate.MaskInfo.AutoTabWhenFilled")));
			this.dtmToDate.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("dtmToDate.MaskInfo.CaseSensitive")));
			this.dtmToDate.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("dtmToDate.MaskInfo.CopyWithLiterals")));
			this.dtmToDate.MaskInfo.EditMask = resources.GetString("dtmToDate.MaskInfo.EditMask");
			this.dtmToDate.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmToDate.MaskInfo.EmptyAsNull")));
			this.dtmToDate.MaskInfo.ErrorMessage = resources.GetString("dtmToDate.MaskInfo.ErrorMessage");
			this.dtmToDate.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("dtmToDate.MaskInfo.Inherit")));
			this.dtmToDate.MaskInfo.PromptChar = ((char)(resources.GetObject("dtmToDate.MaskInfo.PromptChar")));
			this.dtmToDate.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("dtmToDate.MaskInfo.ShowLiterals")));
			this.dtmToDate.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("dtmToDate.MaskInfo.StoredEmptyChar")));
			this.dtmToDate.MaxLength = ((int)(resources.GetObject("dtmToDate.MaxLength")));
			this.dtmToDate.Name = "dtmToDate";
			this.dtmToDate.NullText = resources.GetString("dtmToDate.NullText");
			this.dtmToDate.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("dtmToDate.ParseInfo.CaseSensitive")));
			this.dtmToDate.ParseInfo.CustomFormat = resources.GetString("dtmToDate.ParseInfo.CustomFormat");
			this.dtmToDate.ParseInfo.DateTimeStyle = ((C1.Win.C1Input.DateTimeStyleFlags)(resources.GetObject("dtmToDate.ParseInfo.DateTimeStyle")));
			this.dtmToDate.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmToDate.ParseInfo.EmptyAsNull")));
			this.dtmToDate.ParseInfo.ErrorMessage = resources.GetString("dtmToDate.ParseInfo.ErrorMessage");
			this.dtmToDate.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmToDate.ParseInfo.FormatType")));
			this.dtmToDate.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("dtmToDate.ParseInfo.Inherit")));
			this.dtmToDate.ParseInfo.NullText = resources.GetString("dtmToDate.ParseInfo.NullText");
			this.dtmToDate.ParseInfo.TrimEnd = ((bool)(resources.GetObject("dtmToDate.ParseInfo.TrimEnd")));
			this.dtmToDate.ParseInfo.TrimStart = ((bool)(resources.GetObject("dtmToDate.ParseInfo.TrimStart")));
			this.dtmToDate.PasswordChar = ((char)(resources.GetObject("dtmToDate.PasswordChar")));
			this.dtmToDate.PostValidation.CaseSensitive = ((bool)(resources.GetObject("dtmToDate.PostValidation.CaseSensitive")));
			this.dtmToDate.PostValidation.ErrorMessage = resources.GetString("dtmToDate.PostValidation.ErrorMessage");
			this.dtmToDate.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("dtmToDate.PostValidation.Inherit")));
			this.dtmToDate.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("dtmToDate.PostValidation.Validation")));
			this.dtmToDate.PostValidation.Values = ((System.Array)(resources.GetObject("dtmToDate.PostValidation.Values")));
			this.dtmToDate.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("dtmToDate.PostValidation.ValuesExcluded")));
			this.dtmToDate.PreValidation.CaseSensitive = ((bool)(resources.GetObject("dtmToDate.PreValidation.CaseSensitive")));
			this.dtmToDate.PreValidation.ErrorMessage = resources.GetString("dtmToDate.PreValidation.ErrorMessage");
			this.dtmToDate.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("dtmToDate.PreValidation.Inherit")));
			this.dtmToDate.PreValidation.ItemSeparator = resources.GetString("dtmToDate.PreValidation.ItemSeparator");
			this.dtmToDate.PreValidation.PatternString = resources.GetString("dtmToDate.PreValidation.PatternString");
			this.dtmToDate.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("dtmToDate.PreValidation.RegexOptions")));
			this.dtmToDate.PreValidation.TrimEnd = ((bool)(resources.GetObject("dtmToDate.PreValidation.TrimEnd")));
			this.dtmToDate.PreValidation.TrimStart = ((bool)(resources.GetObject("dtmToDate.PreValidation.TrimStart")));
			this.dtmToDate.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("dtmToDate.PreValidation.Validation")));
			this.dtmToDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmToDate.RightToLeft")));
			this.dtmToDate.ShowFocusRectangle = ((bool)(resources.GetObject("dtmToDate.ShowFocusRectangle")));
			this.dtmToDate.Size = ((System.Drawing.Size)(resources.GetObject("dtmToDate.Size")));
			this.dtmToDate.TabIndex = ((int)(resources.GetObject("dtmToDate.TabIndex")));
			this.dtmToDate.Tag = ((object)(resources.GetObject("dtmToDate.Tag")));
			this.dtmToDate.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("dtmToDate.TextAlign")));
			this.dtmToDate.TrimEnd = ((bool)(resources.GetObject("dtmToDate.TrimEnd")));
			this.dtmToDate.TrimStart = ((bool)(resources.GetObject("dtmToDate.TrimStart")));
			this.dtmToDate.UserCultureOverride = ((bool)(resources.GetObject("dtmToDate.UserCultureOverride")));
			this.dtmToDate.Value = ((object)(resources.GetObject("dtmToDate.Value")));
			this.dtmToDate.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("dtmToDate.VerticalAlign")));
			this.dtmToDate.Visible = ((bool)(resources.GetObject("dtmToDate.Visible")));
			this.dtmToDate.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("dtmToDate.VisibleButtons")));
			// 
			// dtmFromDate
			// 
			this.dtmFromDate.AcceptsEscape = ((bool)(resources.GetObject("dtmFromDate.AcceptsEscape")));
			this.dtmFromDate.AccessibleDescription = resources.GetString("dtmFromDate.AccessibleDescription");
			this.dtmFromDate.AccessibleName = resources.GetString("dtmFromDate.AccessibleName");
			this.dtmFromDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dtmFromDate.Anchor")));
			this.dtmFromDate.AutoSize = ((bool)(resources.GetObject("dtmFromDate.AutoSize")));
			this.dtmFromDate.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmFromDate.BackgroundImage")));
			this.dtmFromDate.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dtmFromDate.BorderStyle")));
			// 
			// dtmFromDate.Calendar
			// 
			this.dtmFromDate.Calendar.AccessibleDescription = resources.GetString("dtmFromDate.Calendar.AccessibleDescription");
			this.dtmFromDate.Calendar.AccessibleName = resources.GetString("dtmFromDate.Calendar.AccessibleName");
			this.dtmFromDate.Calendar.AnnuallyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmFromDate.Calendar.AnnuallyBoldedDates")));
			this.dtmFromDate.Calendar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dtmFromDate.Calendar.BackgroundImage")));
			this.dtmFromDate.Calendar.BoldedDates = ((System.DateTime[])(resources.GetObject("dtmFromDate.Calendar.BoldedDates")));
			this.dtmFromDate.Calendar.CalendarDimensions = ((System.Drawing.Size)(resources.GetObject("dtmFromDate.Calendar.CalendarDimensions")));
			this.dtmFromDate.Calendar.Enabled = ((bool)(resources.GetObject("dtmFromDate.Calendar.Enabled")));
			this.dtmFromDate.Calendar.FirstDayOfWeek = ((System.Windows.Forms.Day)(resources.GetObject("dtmFromDate.Calendar.FirstDayOfWeek")));
			this.dtmFromDate.Calendar.Font = ((System.Drawing.Font)(resources.GetObject("dtmFromDate.Calendar.Font")));
			this.dtmFromDate.Calendar.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmFromDate.Calendar.ImeMode")));
			this.dtmFromDate.Calendar.MonthlyBoldedDates = ((System.DateTime[])(resources.GetObject("dtmFromDate.Calendar.MonthlyBoldedDates")));
			this.dtmFromDate.Calendar.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmFromDate.Calendar.RightToLeft")));
			this.dtmFromDate.Calendar.ShowClearButton = ((bool)(resources.GetObject("dtmFromDate.Calendar.ShowClearButton")));
			this.dtmFromDate.Calendar.ShowTodayButton = ((bool)(resources.GetObject("dtmFromDate.Calendar.ShowTodayButton")));
			this.dtmFromDate.Calendar.ShowWeekNumbers = ((bool)(resources.GetObject("dtmFromDate.Calendar.ShowWeekNumbers")));
			this.dtmFromDate.CaseSensitive = ((bool)(resources.GetObject("dtmFromDate.CaseSensitive")));
			this.dtmFromDate.Culture = ((int)(resources.GetObject("dtmFromDate.Culture")));
			this.dtmFromDate.CurrentTimeZone = ((bool)(resources.GetObject("dtmFromDate.CurrentTimeZone")));
			this.dtmFromDate.CustomFormat = resources.GetString("dtmFromDate.CustomFormat");
			this.dtmFromDate.DaylightTimeAdjustment = ((C1.Win.C1Input.DaylightTimeAdjustmentEnum)(resources.GetObject("dtmFromDate.DaylightTimeAdjustment")));
			this.dtmFromDate.DisplayFormat.CustomFormat = resources.GetString("dtmFromDate.DisplayFormat.CustomFormat");
			this.dtmFromDate.DisplayFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmFromDate.DisplayFormat.FormatType")));
			this.dtmFromDate.DisplayFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmFromDate.DisplayFormat.Inherit")));
			this.dtmFromDate.DisplayFormat.NullText = resources.GetString("dtmFromDate.DisplayFormat.NullText");
			this.dtmFromDate.DisplayFormat.TrimEnd = ((bool)(resources.GetObject("dtmFromDate.DisplayFormat.TrimEnd")));
			this.dtmFromDate.DisplayFormat.TrimStart = ((bool)(resources.GetObject("dtmFromDate.DisplayFormat.TrimStart")));
			this.dtmFromDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dtmFromDate.Dock")));
			this.dtmFromDate.DropDownFormAlign = ((C1.Win.C1Input.DropDownFormAlignmentEnum)(resources.GetObject("dtmFromDate.DropDownFormAlign")));
			this.dtmFromDate.EditFormat.CustomFormat = resources.GetString("dtmFromDate.EditFormat.CustomFormat");
			this.dtmFromDate.EditFormat.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmFromDate.EditFormat.FormatType")));
			this.dtmFromDate.EditFormat.Inherit = ((C1.Win.C1Input.FormatInfoInheritFlags)(resources.GetObject("dtmFromDate.EditFormat.Inherit")));
			this.dtmFromDate.EditFormat.NullText = resources.GetString("dtmFromDate.EditFormat.NullText");
			this.dtmFromDate.EditFormat.TrimEnd = ((bool)(resources.GetObject("dtmFromDate.EditFormat.TrimEnd")));
			this.dtmFromDate.EditFormat.TrimStart = ((bool)(resources.GetObject("dtmFromDate.EditFormat.TrimStart")));
			this.dtmFromDate.EditMask = resources.GetString("dtmFromDate.EditMask");
			this.dtmFromDate.EmptyAsNull = ((bool)(resources.GetObject("dtmFromDate.EmptyAsNull")));
			this.dtmFromDate.Enabled = ((bool)(resources.GetObject("dtmFromDate.Enabled")));
			this.dtmFromDate.ErrorInfo.BeepOnError = ((bool)(resources.GetObject("dtmFromDate.ErrorInfo.BeepOnError")));
			this.dtmFromDate.ErrorInfo.ErrorMessage = resources.GetString("dtmFromDate.ErrorInfo.ErrorMessage");
			this.dtmFromDate.ErrorInfo.ErrorMessageCaption = resources.GetString("dtmFromDate.ErrorInfo.ErrorMessageCaption");
			this.dtmFromDate.ErrorInfo.ShowErrorMessage = ((bool)(resources.GetObject("dtmFromDate.ErrorInfo.ShowErrorMessage")));
			this.dtmFromDate.ErrorInfo.ValueOnError = ((object)(resources.GetObject("dtmFromDate.ErrorInfo.ValueOnError")));
			this.dtmFromDate.Font = ((System.Drawing.Font)(resources.GetObject("dtmFromDate.Font")));
			this.dtmFromDate.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmFromDate.FormatType")));
			this.dtmFromDate.GapHeight = ((int)(resources.GetObject("dtmFromDate.GapHeight")));
			this.dtmFromDate.GMTOffset = ((System.TimeSpan)(resources.GetObject("dtmFromDate.GMTOffset")));
			this.dtmFromDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dtmFromDate.ImeMode")));
			this.dtmFromDate.InitialSelection = ((C1.Win.C1Input.InitialSelectionEnum)(resources.GetObject("dtmFromDate.InitialSelection")));
			this.dtmFromDate.Location = ((System.Drawing.Point)(resources.GetObject("dtmFromDate.Location")));
			this.dtmFromDate.MaskInfo.AutoTabWhenFilled = ((bool)(resources.GetObject("dtmFromDate.MaskInfo.AutoTabWhenFilled")));
			this.dtmFromDate.MaskInfo.CaseSensitive = ((bool)(resources.GetObject("dtmFromDate.MaskInfo.CaseSensitive")));
			this.dtmFromDate.MaskInfo.CopyWithLiterals = ((bool)(resources.GetObject("dtmFromDate.MaskInfo.CopyWithLiterals")));
			this.dtmFromDate.MaskInfo.EditMask = resources.GetString("dtmFromDate.MaskInfo.EditMask");
			this.dtmFromDate.MaskInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmFromDate.MaskInfo.EmptyAsNull")));
			this.dtmFromDate.MaskInfo.ErrorMessage = resources.GetString("dtmFromDate.MaskInfo.ErrorMessage");
			this.dtmFromDate.MaskInfo.Inherit = ((C1.Win.C1Input.MaskInfoInheritFlags)(resources.GetObject("dtmFromDate.MaskInfo.Inherit")));
			this.dtmFromDate.MaskInfo.PromptChar = ((char)(resources.GetObject("dtmFromDate.MaskInfo.PromptChar")));
			this.dtmFromDate.MaskInfo.ShowLiterals = ((C1.Win.C1Input.ShowLiteralsEnum)(resources.GetObject("dtmFromDate.MaskInfo.ShowLiterals")));
			this.dtmFromDate.MaskInfo.StoredEmptyChar = ((char)(resources.GetObject("dtmFromDate.MaskInfo.StoredEmptyChar")));
			this.dtmFromDate.MaxLength = ((int)(resources.GetObject("dtmFromDate.MaxLength")));
			this.dtmFromDate.Name = "dtmFromDate";
			this.dtmFromDate.NullText = resources.GetString("dtmFromDate.NullText");
			this.dtmFromDate.ParseInfo.CaseSensitive = ((bool)(resources.GetObject("dtmFromDate.ParseInfo.CaseSensitive")));
			this.dtmFromDate.ParseInfo.CustomFormat = resources.GetString("dtmFromDate.ParseInfo.CustomFormat");
			this.dtmFromDate.ParseInfo.DateTimeStyle = ((C1.Win.C1Input.DateTimeStyleFlags)(resources.GetObject("dtmFromDate.ParseInfo.DateTimeStyle")));
			this.dtmFromDate.ParseInfo.EmptyAsNull = ((bool)(resources.GetObject("dtmFromDate.ParseInfo.EmptyAsNull")));
			this.dtmFromDate.ParseInfo.ErrorMessage = resources.GetString("dtmFromDate.ParseInfo.ErrorMessage");
			this.dtmFromDate.ParseInfo.FormatType = ((C1.Win.C1Input.FormatTypeEnum)(resources.GetObject("dtmFromDate.ParseInfo.FormatType")));
			this.dtmFromDate.ParseInfo.Inherit = ((C1.Win.C1Input.ParseInfoInheritFlags)(resources.GetObject("dtmFromDate.ParseInfo.Inherit")));
			this.dtmFromDate.ParseInfo.NullText = resources.GetString("dtmFromDate.ParseInfo.NullText");
			this.dtmFromDate.ParseInfo.TrimEnd = ((bool)(resources.GetObject("dtmFromDate.ParseInfo.TrimEnd")));
			this.dtmFromDate.ParseInfo.TrimStart = ((bool)(resources.GetObject("dtmFromDate.ParseInfo.TrimStart")));
			this.dtmFromDate.PasswordChar = ((char)(resources.GetObject("dtmFromDate.PasswordChar")));
			this.dtmFromDate.PostValidation.CaseSensitive = ((bool)(resources.GetObject("dtmFromDate.PostValidation.CaseSensitive")));
			this.dtmFromDate.PostValidation.ErrorMessage = resources.GetString("dtmFromDate.PostValidation.ErrorMessage");
			this.dtmFromDate.PostValidation.Inherit = ((C1.Win.C1Input.PostValidationInheritFlags)(resources.GetObject("dtmFromDate.PostValidation.Inherit")));
			this.dtmFromDate.PostValidation.Validation = ((C1.Win.C1Input.PostValidationTypeEnum)(resources.GetObject("dtmFromDate.PostValidation.Validation")));
			this.dtmFromDate.PostValidation.Values = ((System.Array)(resources.GetObject("dtmFromDate.PostValidation.Values")));
			this.dtmFromDate.PostValidation.ValuesExcluded = ((System.Array)(resources.GetObject("dtmFromDate.PostValidation.ValuesExcluded")));
			this.dtmFromDate.PreValidation.CaseSensitive = ((bool)(resources.GetObject("dtmFromDate.PreValidation.CaseSensitive")));
			this.dtmFromDate.PreValidation.ErrorMessage = resources.GetString("dtmFromDate.PreValidation.ErrorMessage");
			this.dtmFromDate.PreValidation.Inherit = ((C1.Win.C1Input.PreValidationInheritFlags)(resources.GetObject("dtmFromDate.PreValidation.Inherit")));
			this.dtmFromDate.PreValidation.ItemSeparator = resources.GetString("dtmFromDate.PreValidation.ItemSeparator");
			this.dtmFromDate.PreValidation.PatternString = resources.GetString("dtmFromDate.PreValidation.PatternString");
			this.dtmFromDate.PreValidation.RegexOptions = ((C1.Win.C1Input.RegexOptionFlags)(resources.GetObject("dtmFromDate.PreValidation.RegexOptions")));
			this.dtmFromDate.PreValidation.TrimEnd = ((bool)(resources.GetObject("dtmFromDate.PreValidation.TrimEnd")));
			this.dtmFromDate.PreValidation.TrimStart = ((bool)(resources.GetObject("dtmFromDate.PreValidation.TrimStart")));
			this.dtmFromDate.PreValidation.Validation = ((C1.Win.C1Input.PreValidationTypeEnum)(resources.GetObject("dtmFromDate.PreValidation.Validation")));
			this.dtmFromDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dtmFromDate.RightToLeft")));
			this.dtmFromDate.ShowFocusRectangle = ((bool)(resources.GetObject("dtmFromDate.ShowFocusRectangle")));
			this.dtmFromDate.Size = ((System.Drawing.Size)(resources.GetObject("dtmFromDate.Size")));
			this.dtmFromDate.TabIndex = ((int)(resources.GetObject("dtmFromDate.TabIndex")));
			this.dtmFromDate.Tag = ((object)(resources.GetObject("dtmFromDate.Tag")));
			this.dtmFromDate.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("dtmFromDate.TextAlign")));
			this.dtmFromDate.TrimEnd = ((bool)(resources.GetObject("dtmFromDate.TrimEnd")));
			this.dtmFromDate.TrimStart = ((bool)(resources.GetObject("dtmFromDate.TrimStart")));
			this.dtmFromDate.UserCultureOverride = ((bool)(resources.GetObject("dtmFromDate.UserCultureOverride")));
			this.dtmFromDate.Value = ((object)(resources.GetObject("dtmFromDate.Value")));
			this.dtmFromDate.VerticalAlign = ((C1.Win.C1Input.VerticalAlignEnum)(resources.GetObject("dtmFromDate.VerticalAlign")));
			this.dtmFromDate.Visible = ((bool)(resources.GetObject("dtmFromDate.Visible")));
			this.dtmFromDate.VisibleButtons = ((C1.Win.C1Input.DropDownControlButtonFlags)(resources.GetObject("dtmFromDate.VisibleButtons")));
			// 
			// lblToStartDate
			// 
			this.lblToStartDate.AccessibleDescription = resources.GetString("lblToStartDate.AccessibleDescription");
			this.lblToStartDate.AccessibleName = resources.GetString("lblToStartDate.AccessibleName");
			this.lblToStartDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblToStartDate.Anchor")));
			this.lblToStartDate.AutoSize = ((bool)(resources.GetObject("lblToStartDate.AutoSize")));
			this.lblToStartDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblToStartDate.Dock")));
			this.lblToStartDate.Enabled = ((bool)(resources.GetObject("lblToStartDate.Enabled")));
			this.lblToStartDate.Font = ((System.Drawing.Font)(resources.GetObject("lblToStartDate.Font")));
			this.lblToStartDate.Image = ((System.Drawing.Image)(resources.GetObject("lblToStartDate.Image")));
			this.lblToStartDate.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblToStartDate.ImageAlign")));
			this.lblToStartDate.ImageIndex = ((int)(resources.GetObject("lblToStartDate.ImageIndex")));
			this.lblToStartDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblToStartDate.ImeMode")));
			this.lblToStartDate.Location = ((System.Drawing.Point)(resources.GetObject("lblToStartDate.Location")));
			this.lblToStartDate.Name = "lblToStartDate";
			this.lblToStartDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblToStartDate.RightToLeft")));
			this.lblToStartDate.Size = ((System.Drawing.Size)(resources.GetObject("lblToStartDate.Size")));
			this.lblToStartDate.TabIndex = ((int)(resources.GetObject("lblToStartDate.TabIndex")));
			this.lblToStartDate.Text = resources.GetString("lblToStartDate.Text");
			this.lblToStartDate.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblToStartDate.TextAlign")));
			this.lblToStartDate.Visible = ((bool)(resources.GetObject("lblToStartDate.Visible")));
			// 
			// lblFromStartDate
			// 
			this.lblFromStartDate.AccessibleDescription = resources.GetString("lblFromStartDate.AccessibleDescription");
			this.lblFromStartDate.AccessibleName = resources.GetString("lblFromStartDate.AccessibleName");
			this.lblFromStartDate.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblFromStartDate.Anchor")));
			this.lblFromStartDate.AutoSize = ((bool)(resources.GetObject("lblFromStartDate.AutoSize")));
			this.lblFromStartDate.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblFromStartDate.Dock")));
			this.lblFromStartDate.Enabled = ((bool)(resources.GetObject("lblFromStartDate.Enabled")));
			this.lblFromStartDate.Font = ((System.Drawing.Font)(resources.GetObject("lblFromStartDate.Font")));
			this.lblFromStartDate.ForeColor = System.Drawing.SystemColors.ControlText;
			this.lblFromStartDate.Image = ((System.Drawing.Image)(resources.GetObject("lblFromStartDate.Image")));
			this.lblFromStartDate.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblFromStartDate.ImageAlign")));
			this.lblFromStartDate.ImageIndex = ((int)(resources.GetObject("lblFromStartDate.ImageIndex")));
			this.lblFromStartDate.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblFromStartDate.ImeMode")));
			this.lblFromStartDate.Location = ((System.Drawing.Point)(resources.GetObject("lblFromStartDate.Location")));
			this.lblFromStartDate.Name = "lblFromStartDate";
			this.lblFromStartDate.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblFromStartDate.RightToLeft")));
			this.lblFromStartDate.Size = ((System.Drawing.Size)(resources.GetObject("lblFromStartDate.Size")));
			this.lblFromStartDate.TabIndex = ((int)(resources.GetObject("lblFromStartDate.TabIndex")));
			this.lblFromStartDate.Text = resources.GetString("lblFromStartDate.Text");
			this.lblFromStartDate.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblFromStartDate.TextAlign")));
			this.lblFromStartDate.Visible = ((bool)(resources.GetObject("lblFromStartDate.Visible")));
			// 
			// lblCategory
			// 
			this.lblCategory.AccessibleDescription = resources.GetString("lblCategory.AccessibleDescription");
			this.lblCategory.AccessibleName = resources.GetString("lblCategory.AccessibleName");
			this.lblCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCategory.Anchor")));
			this.lblCategory.AutoSize = ((bool)(resources.GetObject("lblCategory.AutoSize")));
			this.lblCategory.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCategory.Dock")));
			this.lblCategory.Enabled = ((bool)(resources.GetObject("lblCategory.Enabled")));
			this.lblCategory.Font = ((System.Drawing.Font)(resources.GetObject("lblCategory.Font")));
			this.lblCategory.ForeColor = System.Drawing.Color.Black;
			this.lblCategory.Image = ((System.Drawing.Image)(resources.GetObject("lblCategory.Image")));
			this.lblCategory.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCategory.ImageAlign")));
			this.lblCategory.ImageIndex = ((int)(resources.GetObject("lblCategory.ImageIndex")));
			this.lblCategory.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCategory.ImeMode")));
			this.lblCategory.Location = ((System.Drawing.Point)(resources.GetObject("lblCategory.Location")));
			this.lblCategory.Name = "lblCategory";
			this.lblCategory.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCategory.RightToLeft")));
			this.lblCategory.Size = ((System.Drawing.Size)(resources.GetObject("lblCategory.Size")));
			this.lblCategory.TabIndex = ((int)(resources.GetObject("lblCategory.TabIndex")));
			this.lblCategory.Text = resources.GetString("lblCategory.Text");
			this.lblCategory.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCategory.TextAlign")));
			this.lblCategory.Visible = ((bool)(resources.GetObject("lblCategory.Visible")));
			// 
			// txtCategory
			// 
			this.txtCategory.AccessibleDescription = resources.GetString("txtCategory.AccessibleDescription");
			this.txtCategory.AccessibleName = resources.GetString("txtCategory.AccessibleName");
			this.txtCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtCategory.Anchor")));
			this.txtCategory.AutoSize = ((bool)(resources.GetObject("txtCategory.AutoSize")));
			this.txtCategory.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtCategory.BackgroundImage")));
			this.txtCategory.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtCategory.Dock")));
			this.txtCategory.Enabled = ((bool)(resources.GetObject("txtCategory.Enabled")));
			this.txtCategory.Font = ((System.Drawing.Font)(resources.GetObject("txtCategory.Font")));
			this.txtCategory.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtCategory.ImeMode")));
			this.txtCategory.Location = ((System.Drawing.Point)(resources.GetObject("txtCategory.Location")));
			this.txtCategory.MaxLength = ((int)(resources.GetObject("txtCategory.MaxLength")));
			this.txtCategory.Multiline = ((bool)(resources.GetObject("txtCategory.Multiline")));
			this.txtCategory.Name = "txtCategory";
			this.txtCategory.PasswordChar = ((char)(resources.GetObject("txtCategory.PasswordChar")));
			this.txtCategory.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtCategory.RightToLeft")));
			this.txtCategory.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtCategory.ScrollBars")));
			this.txtCategory.Size = ((System.Drawing.Size)(resources.GetObject("txtCategory.Size")));
			this.txtCategory.TabIndex = ((int)(resources.GetObject("txtCategory.TabIndex")));
			this.txtCategory.Text = resources.GetString("txtCategory.Text");
			this.txtCategory.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtCategory.TextAlign")));
			this.txtCategory.Visible = ((bool)(resources.GetObject("txtCategory.Visible")));
			this.txtCategory.WordWrap = ((bool)(resources.GetObject("txtCategory.WordWrap")));
			this.txtCategory.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCategory_KeyDown);
			this.txtCategory.Validating += new System.ComponentModel.CancelEventHandler(this.txtCategory_Validating);
			// 
			// btnCategory
			// 
			this.btnCategory.AccessibleDescription = resources.GetString("btnCategory.AccessibleDescription");
			this.btnCategory.AccessibleName = resources.GetString("btnCategory.AccessibleName");
			this.btnCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnCategory.Anchor")));
			this.btnCategory.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCategory.BackgroundImage")));
			this.btnCategory.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnCategory.Dock")));
			this.btnCategory.Enabled = ((bool)(resources.GetObject("btnCategory.Enabled")));
			this.btnCategory.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnCategory.FlatStyle")));
			this.btnCategory.Font = ((System.Drawing.Font)(resources.GetObject("btnCategory.Font")));
			this.btnCategory.Image = ((System.Drawing.Image)(resources.GetObject("btnCategory.Image")));
			this.btnCategory.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnCategory.ImageAlign")));
			this.btnCategory.ImageIndex = ((int)(resources.GetObject("btnCategory.ImageIndex")));
			this.btnCategory.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnCategory.ImeMode")));
			this.btnCategory.Location = ((System.Drawing.Point)(resources.GetObject("btnCategory.Location")));
			this.btnCategory.Name = "btnCategory";
			this.btnCategory.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnCategory.RightToLeft")));
			this.btnCategory.Size = ((System.Drawing.Size)(resources.GetObject("btnCategory.Size")));
			this.btnCategory.TabIndex = ((int)(resources.GetObject("btnCategory.TabIndex")));
			this.btnCategory.Text = resources.GetString("btnCategory.Text");
			this.btnCategory.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnCategory.TextAlign")));
			this.btnCategory.Visible = ((bool)(resources.GetObject("btnCategory.Visible")));
			this.btnCategory.Click += new System.EventHandler(this.btnCategory_Click);
			// 
			// txtPartName
			// 
			this.txtPartName.AccessibleDescription = resources.GetString("txtPartName.AccessibleDescription");
			this.txtPartName.AccessibleName = resources.GetString("txtPartName.AccessibleName");
			this.txtPartName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtPartName.Anchor")));
			this.txtPartName.AutoSize = ((bool)(resources.GetObject("txtPartName.AutoSize")));
			this.txtPartName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtPartName.BackgroundImage")));
			this.txtPartName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtPartName.Dock")));
			this.txtPartName.Enabled = ((bool)(resources.GetObject("txtPartName.Enabled")));
			this.txtPartName.Font = ((System.Drawing.Font)(resources.GetObject("txtPartName.Font")));
			this.txtPartName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtPartName.ImeMode")));
			this.txtPartName.Location = ((System.Drawing.Point)(resources.GetObject("txtPartName.Location")));
			this.txtPartName.MaxLength = ((int)(resources.GetObject("txtPartName.MaxLength")));
			this.txtPartName.Multiline = ((bool)(resources.GetObject("txtPartName.Multiline")));
			this.txtPartName.Name = "txtPartName";
			this.txtPartName.PasswordChar = ((char)(resources.GetObject("txtPartName.PasswordChar")));
			this.txtPartName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtPartName.RightToLeft")));
			this.txtPartName.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtPartName.ScrollBars")));
			this.txtPartName.Size = ((System.Drawing.Size)(resources.GetObject("txtPartName.Size")));
			this.txtPartName.TabIndex = ((int)(resources.GetObject("txtPartName.TabIndex")));
			this.txtPartName.Text = resources.GetString("txtPartName.Text");
			this.txtPartName.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtPartName.TextAlign")));
			this.txtPartName.Visible = ((bool)(resources.GetObject("txtPartName.Visible")));
			this.txtPartName.WordWrap = ((bool)(resources.GetObject("txtPartName.WordWrap")));
			this.txtPartName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPartName_KeyDown);
			this.txtPartName.Validating += new System.ComponentModel.CancelEventHandler(this.txtPartName_Validating);
			// 
			// txtModel
			// 
			this.txtModel.AccessibleDescription = resources.GetString("txtModel.AccessibleDescription");
			this.txtModel.AccessibleName = resources.GetString("txtModel.AccessibleName");
			this.txtModel.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtModel.Anchor")));
			this.txtModel.AutoSize = ((bool)(resources.GetObject("txtModel.AutoSize")));
			this.txtModel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtModel.BackgroundImage")));
			this.txtModel.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtModel.Dock")));
			this.txtModel.Enabled = ((bool)(resources.GetObject("txtModel.Enabled")));
			this.txtModel.Font = ((System.Drawing.Font)(resources.GetObject("txtModel.Font")));
			this.txtModel.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtModel.ImeMode")));
			this.txtModel.Location = ((System.Drawing.Point)(resources.GetObject("txtModel.Location")));
			this.txtModel.MaxLength = ((int)(resources.GetObject("txtModel.MaxLength")));
			this.txtModel.Multiline = ((bool)(resources.GetObject("txtModel.Multiline")));
			this.txtModel.Name = "txtModel";
			this.txtModel.PasswordChar = ((char)(resources.GetObject("txtModel.PasswordChar")));
			this.txtModel.ReadOnly = true;
			this.txtModel.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtModel.RightToLeft")));
			this.txtModel.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtModel.ScrollBars")));
			this.txtModel.Size = ((System.Drawing.Size)(resources.GetObject("txtModel.Size")));
			this.txtModel.TabIndex = ((int)(resources.GetObject("txtModel.TabIndex")));
			this.txtModel.Text = resources.GetString("txtModel.Text");
			this.txtModel.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtModel.TextAlign")));
			this.txtModel.Visible = ((bool)(resources.GetObject("txtModel.Visible")));
			this.txtModel.WordWrap = ((bool)(resources.GetObject("txtModel.WordWrap")));
			// 
			// txtPartNumber
			// 
			this.txtPartNumber.AccessibleDescription = resources.GetString("txtPartNumber.AccessibleDescription");
			this.txtPartNumber.AccessibleName = resources.GetString("txtPartNumber.AccessibleName");
			this.txtPartNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtPartNumber.Anchor")));
			this.txtPartNumber.AutoSize = ((bool)(resources.GetObject("txtPartNumber.AutoSize")));
			this.txtPartNumber.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtPartNumber.BackgroundImage")));
			this.txtPartNumber.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtPartNumber.Dock")));
			this.txtPartNumber.Enabled = ((bool)(resources.GetObject("txtPartNumber.Enabled")));
			this.txtPartNumber.Font = ((System.Drawing.Font)(resources.GetObject("txtPartNumber.Font")));
			this.txtPartNumber.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtPartNumber.ImeMode")));
			this.txtPartNumber.Location = ((System.Drawing.Point)(resources.GetObject("txtPartNumber.Location")));
			this.txtPartNumber.MaxLength = ((int)(resources.GetObject("txtPartNumber.MaxLength")));
			this.txtPartNumber.Multiline = ((bool)(resources.GetObject("txtPartNumber.Multiline")));
			this.txtPartNumber.Name = "txtPartNumber";
			this.txtPartNumber.PasswordChar = ((char)(resources.GetObject("txtPartNumber.PasswordChar")));
			this.txtPartNumber.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtPartNumber.RightToLeft")));
			this.txtPartNumber.ScrollBars = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtPartNumber.ScrollBars")));
			this.txtPartNumber.Size = ((System.Drawing.Size)(resources.GetObject("txtPartNumber.Size")));
			this.txtPartNumber.TabIndex = ((int)(resources.GetObject("txtPartNumber.TabIndex")));
			this.txtPartNumber.Text = resources.GetString("txtPartNumber.Text");
			this.txtPartNumber.TextAlign = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtPartNumber.TextAlign")));
			this.txtPartNumber.Visible = ((bool)(resources.GetObject("txtPartNumber.Visible")));
			this.txtPartNumber.WordWrap = ((bool)(resources.GetObject("txtPartNumber.WordWrap")));
			this.txtPartNumber.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPartNumber_KeyDown);
			this.txtPartNumber.Validating += new System.ComponentModel.CancelEventHandler(this.txtPartNumber_Validating);
			// 
			// btnPartName
			// 
			this.btnPartName.AccessibleDescription = resources.GetString("btnPartName.AccessibleDescription");
			this.btnPartName.AccessibleName = resources.GetString("btnPartName.AccessibleName");
			this.btnPartName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnPartName.Anchor")));
			this.btnPartName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnPartName.BackgroundImage")));
			this.btnPartName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnPartName.Dock")));
			this.btnPartName.Enabled = ((bool)(resources.GetObject("btnPartName.Enabled")));
			this.btnPartName.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnPartName.FlatStyle")));
			this.btnPartName.Font = ((System.Drawing.Font)(resources.GetObject("btnPartName.Font")));
			this.btnPartName.Image = ((System.Drawing.Image)(resources.GetObject("btnPartName.Image")));
			this.btnPartName.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPartName.ImageAlign")));
			this.btnPartName.ImageIndex = ((int)(resources.GetObject("btnPartName.ImageIndex")));
			this.btnPartName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnPartName.ImeMode")));
			this.btnPartName.Location = ((System.Drawing.Point)(resources.GetObject("btnPartName.Location")));
			this.btnPartName.Name = "btnPartName";
			this.btnPartName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnPartName.RightToLeft")));
			this.btnPartName.Size = ((System.Drawing.Size)(resources.GetObject("btnPartName.Size")));
			this.btnPartName.TabIndex = ((int)(resources.GetObject("btnPartName.TabIndex")));
			this.btnPartName.Text = resources.GetString("btnPartName.Text");
			this.btnPartName.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPartName.TextAlign")));
			this.btnPartName.Visible = ((bool)(resources.GetObject("btnPartName.Visible")));
			this.btnPartName.Click += new System.EventHandler(this.btnPartName_Click);
			// 
			// lblPartName
			// 
			this.lblPartName.AccessibleDescription = resources.GetString("lblPartName.AccessibleDescription");
			this.lblPartName.AccessibleName = resources.GetString("lblPartName.AccessibleName");
			this.lblPartName.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPartName.Anchor")));
			this.lblPartName.AutoSize = ((bool)(resources.GetObject("lblPartName.AutoSize")));
			this.lblPartName.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPartName.Dock")));
			this.lblPartName.Enabled = ((bool)(resources.GetObject("lblPartName.Enabled")));
			this.lblPartName.Font = ((System.Drawing.Font)(resources.GetObject("lblPartName.Font")));
			this.lblPartName.ForeColor = System.Drawing.Color.Black;
			this.lblPartName.Image = ((System.Drawing.Image)(resources.GetObject("lblPartName.Image")));
			this.lblPartName.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPartName.ImageAlign")));
			this.lblPartName.ImageIndex = ((int)(resources.GetObject("lblPartName.ImageIndex")));
			this.lblPartName.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPartName.ImeMode")));
			this.lblPartName.Location = ((System.Drawing.Point)(resources.GetObject("lblPartName.Location")));
			this.lblPartName.Name = "lblPartName";
			this.lblPartName.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPartName.RightToLeft")));
			this.lblPartName.Size = ((System.Drawing.Size)(resources.GetObject("lblPartName.Size")));
			this.lblPartName.TabIndex = ((int)(resources.GetObject("lblPartName.TabIndex")));
			this.lblPartName.Text = resources.GetString("lblPartName.Text");
			this.lblPartName.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPartName.TextAlign")));
			this.lblPartName.Visible = ((bool)(resources.GetObject("lblPartName.Visible")));
			// 
			// btnPartNumber
			// 
			this.btnPartNumber.AccessibleDescription = resources.GetString("btnPartNumber.AccessibleDescription");
			this.btnPartNumber.AccessibleName = resources.GetString("btnPartNumber.AccessibleName");
			this.btnPartNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnPartNumber.Anchor")));
			this.btnPartNumber.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnPartNumber.BackgroundImage")));
			this.btnPartNumber.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnPartNumber.Dock")));
			this.btnPartNumber.Enabled = ((bool)(resources.GetObject("btnPartNumber.Enabled")));
			this.btnPartNumber.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnPartNumber.FlatStyle")));
			this.btnPartNumber.Font = ((System.Drawing.Font)(resources.GetObject("btnPartNumber.Font")));
			this.btnPartNumber.Image = ((System.Drawing.Image)(resources.GetObject("btnPartNumber.Image")));
			this.btnPartNumber.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPartNumber.ImageAlign")));
			this.btnPartNumber.ImageIndex = ((int)(resources.GetObject("btnPartNumber.ImageIndex")));
			this.btnPartNumber.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnPartNumber.ImeMode")));
			this.btnPartNumber.Location = ((System.Drawing.Point)(resources.GetObject("btnPartNumber.Location")));
			this.btnPartNumber.Name = "btnPartNumber";
			this.btnPartNumber.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnPartNumber.RightToLeft")));
			this.btnPartNumber.Size = ((System.Drawing.Size)(resources.GetObject("btnPartNumber.Size")));
			this.btnPartNumber.TabIndex = ((int)(resources.GetObject("btnPartNumber.TabIndex")));
			this.btnPartNumber.Text = resources.GetString("btnPartNumber.Text");
			this.btnPartNumber.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnPartNumber.TextAlign")));
			this.btnPartNumber.Visible = ((bool)(resources.GetObject("btnPartNumber.Visible")));
			this.btnPartNumber.Click += new System.EventHandler(this.btnPartNumber_Click);
			// 
			// lblPartNumber
			// 
			this.lblPartNumber.AccessibleDescription = resources.GetString("lblPartNumber.AccessibleDescription");
			this.lblPartNumber.AccessibleName = resources.GetString("lblPartNumber.AccessibleName");
			this.lblPartNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblPartNumber.Anchor")));
			this.lblPartNumber.AutoSize = ((bool)(resources.GetObject("lblPartNumber.AutoSize")));
			this.lblPartNumber.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblPartNumber.Dock")));
			this.lblPartNumber.Enabled = ((bool)(resources.GetObject("lblPartNumber.Enabled")));
			this.lblPartNumber.Font = ((System.Drawing.Font)(resources.GetObject("lblPartNumber.Font")));
			this.lblPartNumber.ForeColor = System.Drawing.Color.Black;
			this.lblPartNumber.Image = ((System.Drawing.Image)(resources.GetObject("lblPartNumber.Image")));
			this.lblPartNumber.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPartNumber.ImageAlign")));
			this.lblPartNumber.ImageIndex = ((int)(resources.GetObject("lblPartNumber.ImageIndex")));
			this.lblPartNumber.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblPartNumber.ImeMode")));
			this.lblPartNumber.Location = ((System.Drawing.Point)(resources.GetObject("lblPartNumber.Location")));
			this.lblPartNumber.Name = "lblPartNumber";
			this.lblPartNumber.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblPartNumber.RightToLeft")));
			this.lblPartNumber.Size = ((System.Drawing.Size)(resources.GetObject("lblPartNumber.Size")));
			this.lblPartNumber.TabIndex = ((int)(resources.GetObject("lblPartNumber.TabIndex")));
			this.lblPartNumber.Text = resources.GetString("lblPartNumber.Text");
			this.lblPartNumber.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblPartNumber.TextAlign")));
			this.lblPartNumber.Visible = ((bool)(resources.GetObject("lblPartNumber.Visible")));
			this.lblPartNumber.Click += new System.EventHandler(this.lblPartNumber_Click);
			// 
			// lblModel
			// 
			this.lblModel.AccessibleDescription = resources.GetString("lblModel.AccessibleDescription");
			this.lblModel.AccessibleName = resources.GetString("lblModel.AccessibleName");
			this.lblModel.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblModel.Anchor")));
			this.lblModel.AutoSize = ((bool)(resources.GetObject("lblModel.AutoSize")));
			this.lblModel.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblModel.Dock")));
			this.lblModel.Enabled = ((bool)(resources.GetObject("lblModel.Enabled")));
			this.lblModel.Font = ((System.Drawing.Font)(resources.GetObject("lblModel.Font")));
			this.lblModel.Image = ((System.Drawing.Image)(resources.GetObject("lblModel.Image")));
			this.lblModel.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblModel.ImageAlign")));
			this.lblModel.ImageIndex = ((int)(resources.GetObject("lblModel.ImageIndex")));
			this.lblModel.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblModel.ImeMode")));
			this.lblModel.Location = ((System.Drawing.Point)(resources.GetObject("lblModel.Location")));
			this.lblModel.Name = "lblModel";
			this.lblModel.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblModel.RightToLeft")));
			this.lblModel.Size = ((System.Drawing.Size)(resources.GetObject("lblModel.Size")));
			this.lblModel.TabIndex = ((int)(resources.GetObject("lblModel.TabIndex")));
			this.lblModel.Text = resources.GetString("lblModel.Text");
			this.lblModel.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblModel.TextAlign")));
			this.lblModel.Visible = ((bool)(resources.GetObject("lblModel.Visible")));
			// 
			// btnShowDetail
			// 
			this.btnShowDetail.AccessibleDescription = resources.GetString("btnShowDetail.AccessibleDescription");
			this.btnShowDetail.AccessibleName = resources.GetString("btnShowDetail.AccessibleName");
			this.btnShowDetail.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnShowDetail.Anchor")));
			this.btnShowDetail.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnShowDetail.BackgroundImage")));
			this.btnShowDetail.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnShowDetail.Dock")));
			this.btnShowDetail.Enabled = ((bool)(resources.GetObject("btnShowDetail.Enabled")));
			this.btnShowDetail.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnShowDetail.FlatStyle")));
			this.btnShowDetail.Font = ((System.Drawing.Font)(resources.GetObject("btnShowDetail.Font")));
			this.btnShowDetail.Image = ((System.Drawing.Image)(resources.GetObject("btnShowDetail.Image")));
			this.btnShowDetail.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnShowDetail.ImageAlign")));
			this.btnShowDetail.ImageIndex = ((int)(resources.GetObject("btnShowDetail.ImageIndex")));
			this.btnShowDetail.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnShowDetail.ImeMode")));
			this.btnShowDetail.Location = ((System.Drawing.Point)(resources.GetObject("btnShowDetail.Location")));
			this.btnShowDetail.Name = "btnShowDetail";
			this.btnShowDetail.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnShowDetail.RightToLeft")));
			this.btnShowDetail.Size = ((System.Drawing.Size)(resources.GetObject("btnShowDetail.Size")));
			this.btnShowDetail.TabIndex = ((int)(resources.GetObject("btnShowDetail.TabIndex")));
			this.btnShowDetail.Text = resources.GetString("btnShowDetail.Text");
			this.btnShowDetail.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnShowDetail.TextAlign")));
			this.btnShowDetail.Visible = ((bool)(resources.GetObject("btnShowDetail.Visible")));
			this.btnShowDetail.Click += new System.EventHandler(this.btnShowDetail_Click);
			// 
			// btnSearch
			// 
			this.btnSearch.AccessibleDescription = resources.GetString("btnSearch.AccessibleDescription");
			this.btnSearch.AccessibleName = resources.GetString("btnSearch.AccessibleName");
			this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnSearch.Anchor")));
			this.btnSearch.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSearch.BackgroundImage")));
			this.btnSearch.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnSearch.Dock")));
			this.btnSearch.Enabled = ((bool)(resources.GetObject("btnSearch.Enabled")));
			this.btnSearch.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnSearch.FlatStyle")));
			this.btnSearch.Font = ((System.Drawing.Font)(resources.GetObject("btnSearch.Font")));
			this.btnSearch.Image = ((System.Drawing.Image)(resources.GetObject("btnSearch.Image")));
			this.btnSearch.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearch.ImageAlign")));
			this.btnSearch.ImageIndex = ((int)(resources.GetObject("btnSearch.ImageIndex")));
			this.btnSearch.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnSearch.ImeMode")));
			this.btnSearch.Location = ((System.Drawing.Point)(resources.GetObject("btnSearch.Location")));
			this.btnSearch.Name = "btnSearch";
			this.btnSearch.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnSearch.RightToLeft")));
			this.btnSearch.Size = ((System.Drawing.Size)(resources.GetObject("btnSearch.Size")));
			this.btnSearch.TabIndex = ((int)(resources.GetObject("btnSearch.TabIndex")));
			this.btnSearch.Text = resources.GetString("btnSearch.Text");
			this.btnSearch.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnSearch.TextAlign")));
			this.btnSearch.Visible = ((bool)(resources.GetObject("btnSearch.Visible")));
			this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
			// 
			// btnHelp
			// 
			this.btnHelp.AccessibleDescription = resources.GetString("btnHelp.AccessibleDescription");
			this.btnHelp.AccessibleName = resources.GetString("btnHelp.AccessibleName");
			this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnHelp.Anchor")));
			this.btnHelp.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnHelp.BackgroundImage")));
			this.btnHelp.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnHelp.Dock")));
			this.btnHelp.Enabled = ((bool)(resources.GetObject("btnHelp.Enabled")));
			this.btnHelp.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnHelp.FlatStyle")));
			this.btnHelp.Font = ((System.Drawing.Font)(resources.GetObject("btnHelp.Font")));
			this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image")));
			this.btnHelp.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.ImageAlign")));
			this.btnHelp.ImageIndex = ((int)(resources.GetObject("btnHelp.ImageIndex")));
			this.btnHelp.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnHelp.ImeMode")));
			this.btnHelp.Location = ((System.Drawing.Point)(resources.GetObject("btnHelp.Location")));
			this.btnHelp.Name = "btnHelp";
			this.btnHelp.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnHelp.RightToLeft")));
			this.btnHelp.Size = ((System.Drawing.Size)(resources.GetObject("btnHelp.Size")));
			this.btnHelp.TabIndex = ((int)(resources.GetObject("btnHelp.TabIndex")));
			this.btnHelp.Text = resources.GetString("btnHelp.Text");
			this.btnHelp.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnHelp.TextAlign")));
			this.btnHelp.Visible = ((bool)(resources.GetObject("btnHelp.Visible")));
			// 
			// btnApprove
			// 
			this.btnApprove.AccessibleDescription = resources.GetString("btnApprove.AccessibleDescription");
			this.btnApprove.AccessibleName = resources.GetString("btnApprove.AccessibleName");
			this.btnApprove.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnApprove.Anchor")));
			this.btnApprove.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnApprove.BackgroundImage")));
			this.btnApprove.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnApprove.Dock")));
			this.btnApprove.Enabled = ((bool)(resources.GetObject("btnApprove.Enabled")));
			this.btnApprove.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnApprove.FlatStyle")));
			this.btnApprove.Font = ((System.Drawing.Font)(resources.GetObject("btnApprove.Font")));
			this.btnApprove.Image = ((System.Drawing.Image)(resources.GetObject("btnApprove.Image")));
			this.btnApprove.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnApprove.ImageAlign")));
			this.btnApprove.ImageIndex = ((int)(resources.GetObject("btnApprove.ImageIndex")));
			this.btnApprove.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnApprove.ImeMode")));
			this.btnApprove.Location = ((System.Drawing.Point)(resources.GetObject("btnApprove.Location")));
			this.btnApprove.Name = "btnApprove";
			this.btnApprove.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnApprove.RightToLeft")));
			this.btnApprove.Size = ((System.Drawing.Size)(resources.GetObject("btnApprove.Size")));
			this.btnApprove.TabIndex = ((int)(resources.GetObject("btnApprove.TabIndex")));
			this.btnApprove.Text = resources.GetString("btnApprove.Text");
			this.btnApprove.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnApprove.TextAlign")));
			this.btnApprove.Visible = ((bool)(resources.GetObject("btnApprove.Visible")));
			this.btnApprove.Click += new System.EventHandler(this.btnApprove_Click);
			// 
			// btnClose
			// 
			this.btnClose.AccessibleDescription = resources.GetString("btnClose.AccessibleDescription");
			this.btnClose.AccessibleName = resources.GetString("btnClose.AccessibleName");
			this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("btnClose.Anchor")));
			this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
			this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnClose.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("btnClose.Dock")));
			this.btnClose.Enabled = ((bool)(resources.GetObject("btnClose.Enabled")));
			this.btnClose.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("btnClose.FlatStyle")));
			this.btnClose.Font = ((System.Drawing.Font)(resources.GetObject("btnClose.Font")));
			this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
			this.btnClose.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.ImageAlign")));
			this.btnClose.ImageIndex = ((int)(resources.GetObject("btnClose.ImageIndex")));
			this.btnClose.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("btnClose.ImeMode")));
			this.btnClose.Location = ((System.Drawing.Point)(resources.GetObject("btnClose.Location")));
			this.btnClose.Name = "btnClose";
			this.btnClose.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("btnClose.RightToLeft")));
			this.btnClose.Size = ((System.Drawing.Size)(resources.GetObject("btnClose.Size")));
			this.btnClose.TabIndex = ((int)(resources.GetObject("btnClose.TabIndex")));
			this.btnClose.Text = resources.GetString("btnClose.Text");
			this.btnClose.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("btnClose.TextAlign")));
			this.btnClose.Visible = ((bool)(resources.GetObject("btnClose.Visible")));
			this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
			// 
			// dgrdData
			// 
			this.dgrdData.AccessibleDescription = resources.GetString("dgrdData.AccessibleDescription");
			this.dgrdData.AccessibleName = resources.GetString("dgrdData.AccessibleName");
			this.dgrdData.AllowAddNew = ((bool)(resources.GetObject("dgrdData.AllowAddNew")));
			this.dgrdData.AllowArrows = ((bool)(resources.GetObject("dgrdData.AllowArrows")));
			this.dgrdData.AllowColMove = ((bool)(resources.GetObject("dgrdData.AllowColMove")));
			this.dgrdData.AllowColSelect = ((bool)(resources.GetObject("dgrdData.AllowColSelect")));
			this.dgrdData.AllowDelete = ((bool)(resources.GetObject("dgrdData.AllowDelete")));
			this.dgrdData.AllowDrag = ((bool)(resources.GetObject("dgrdData.AllowDrag")));
			this.dgrdData.AllowFilter = ((bool)(resources.GetObject("dgrdData.AllowFilter")));
			this.dgrdData.AllowHorizontalSplit = ((bool)(resources.GetObject("dgrdData.AllowHorizontalSplit")));
			this.dgrdData.AllowRowSelect = ((bool)(resources.GetObject("dgrdData.AllowRowSelect")));
			this.dgrdData.AllowSort = ((bool)(resources.GetObject("dgrdData.AllowSort")));
			this.dgrdData.AllowUpdate = ((bool)(resources.GetObject("dgrdData.AllowUpdate")));
			this.dgrdData.AllowUpdateOnBlur = ((bool)(resources.GetObject("dgrdData.AllowUpdateOnBlur")));
			this.dgrdData.AllowVerticalSplit = ((bool)(resources.GetObject("dgrdData.AllowVerticalSplit")));
			this.dgrdData.AlternatingRows = ((bool)(resources.GetObject("dgrdData.AlternatingRows")));
			this.dgrdData.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("dgrdData.Anchor")));
			this.dgrdData.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("dgrdData.BackgroundImage")));
			this.dgrdData.BorderStyle = ((System.Windows.Forms.BorderStyle)(resources.GetObject("dgrdData.BorderStyle")));
			this.dgrdData.Caption = resources.GetString("dgrdData.Caption");
			this.dgrdData.CaptionHeight = ((int)(resources.GetObject("dgrdData.CaptionHeight")));
			this.dgrdData.CellTipsDelay = ((int)(resources.GetObject("dgrdData.CellTipsDelay")));
			this.dgrdData.CellTipsWidth = ((int)(resources.GetObject("dgrdData.CellTipsWidth")));
			this.dgrdData.ChildGrid = ((C1.Win.C1TrueDBGrid.C1TrueDBGrid)(resources.GetObject("dgrdData.ChildGrid")));
			this.dgrdData.CollapseColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.CollapseColor")));
			this.dgrdData.ColumnFooters = ((bool)(resources.GetObject("dgrdData.ColumnFooters")));
			this.dgrdData.ColumnHeaders = ((bool)(resources.GetObject("dgrdData.ColumnHeaders")));
			this.dgrdData.DefColWidth = ((int)(resources.GetObject("dgrdData.DefColWidth")));
			this.dgrdData.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("dgrdData.Dock")));
			this.dgrdData.EditDropDown = ((bool)(resources.GetObject("dgrdData.EditDropDown")));
			this.dgrdData.EmptyRows = ((bool)(resources.GetObject("dgrdData.EmptyRows")));
			this.dgrdData.Enabled = ((bool)(resources.GetObject("dgrdData.Enabled")));
			this.dgrdData.ExpandColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.ExpandColor")));
			this.dgrdData.ExposeCellMode = ((C1.Win.C1TrueDBGrid.ExposeCellModeEnum)(resources.GetObject("dgrdData.ExposeCellMode")));
			this.dgrdData.ExtendRightColumn = ((bool)(resources.GetObject("dgrdData.ExtendRightColumn")));
			this.dgrdData.FetchRowStyles = ((bool)(resources.GetObject("dgrdData.FetchRowStyles")));
			this.dgrdData.FilterBar = ((bool)(resources.GetObject("dgrdData.FilterBar")));
			this.dgrdData.FlatStyle = ((C1.Win.C1TrueDBGrid.FlatModeEnum)(resources.GetObject("dgrdData.FlatStyle")));
			this.dgrdData.Font = ((System.Drawing.Font)(resources.GetObject("dgrdData.Font")));
			this.dgrdData.GroupByAreaVisible = ((bool)(resources.GetObject("dgrdData.GroupByAreaVisible")));
			this.dgrdData.GroupByCaption = resources.GetString("dgrdData.GroupByCaption");
			this.dgrdData.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
			this.dgrdData.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("dgrdData.ImeMode")));
			this.dgrdData.LinesPerRow = ((int)(resources.GetObject("dgrdData.LinesPerRow")));
			this.dgrdData.Location = ((System.Drawing.Point)(resources.GetObject("dgrdData.Location")));
			this.dgrdData.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder;
			this.dgrdData.Name = "dgrdData";
			this.dgrdData.PictureAddnewRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureAddnewRow")));
			this.dgrdData.PictureCurrentRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureCurrentRow")));
			this.dgrdData.PictureFilterBar = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureFilterBar")));
			this.dgrdData.PictureFooterRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureFooterRow")));
			this.dgrdData.PictureHeaderRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureHeaderRow")));
			this.dgrdData.PictureModifiedRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureModifiedRow")));
			this.dgrdData.PictureStandardRow = ((System.Drawing.Image)(resources.GetObject("dgrdData.PictureStandardRow")));
			this.dgrdData.PreviewInfo.AllowSizing = ((bool)(resources.GetObject("dgrdData.PreviewInfo.AllowSizing")));
			this.dgrdData.PreviewInfo.Caption = resources.GetString("dgrdData.PreviewInfo.Caption");
			this.dgrdData.PreviewInfo.Location = ((System.Drawing.Point)(resources.GetObject("dgrdData.PreviewInfo.Location")));
			this.dgrdData.PreviewInfo.Size = ((System.Drawing.Size)(resources.GetObject("dgrdData.PreviewInfo.Size")));
			this.dgrdData.PreviewInfo.ToolBars = ((bool)(resources.GetObject("dgrdData.PreviewInfo.ToolBars")));
			this.dgrdData.PreviewInfo.UIStrings.Content = ((string[])(resources.GetObject("dgrdData.PreviewInfo.UIStrings.Content")));
			this.dgrdData.PreviewInfo.ZoomFactor = ((System.Double)(resources.GetObject("dgrdData.PreviewInfo.ZoomFactor")));
			this.dgrdData.PrintInfo.MaxRowHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.MaxRowHeight")));
			this.dgrdData.PrintInfo.OwnerDrawPageFooter = ((bool)(resources.GetObject("dgrdData.PrintInfo.OwnerDrawPageFooter")));
			this.dgrdData.PrintInfo.OwnerDrawPageHeader = ((bool)(resources.GetObject("dgrdData.PrintInfo.OwnerDrawPageHeader")));
			this.dgrdData.PrintInfo.PageFooter = resources.GetString("dgrdData.PrintInfo.PageFooter");
			this.dgrdData.PrintInfo.PageFooterHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.PageFooterHeight")));
			this.dgrdData.PrintInfo.PageHeader = resources.GetString("dgrdData.PrintInfo.PageHeader");
			this.dgrdData.PrintInfo.PageHeaderHeight = ((int)(resources.GetObject("dgrdData.PrintInfo.PageHeaderHeight")));
			this.dgrdData.PrintInfo.PrintHorizontalSplits = ((bool)(resources.GetObject("dgrdData.PrintInfo.PrintHorizontalSplits")));
			this.dgrdData.PrintInfo.ProgressCaption = resources.GetString("dgrdData.PrintInfo.ProgressCaption");
			this.dgrdData.PrintInfo.RepeatColumnFooters = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatColumnFooters")));
			this.dgrdData.PrintInfo.RepeatColumnHeaders = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatColumnHeaders")));
			this.dgrdData.PrintInfo.RepeatGridHeader = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatGridHeader")));
			this.dgrdData.PrintInfo.RepeatSplitHeaders = ((bool)(resources.GetObject("dgrdData.PrintInfo.RepeatSplitHeaders")));
			this.dgrdData.PrintInfo.ShowOptionsDialog = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowOptionsDialog")));
			this.dgrdData.PrintInfo.ShowProgressForm = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowProgressForm")));
			this.dgrdData.PrintInfo.ShowSelection = ((bool)(resources.GetObject("dgrdData.PrintInfo.ShowSelection")));
			this.dgrdData.PrintInfo.UseGridColors = ((bool)(resources.GetObject("dgrdData.PrintInfo.UseGridColors")));
			this.dgrdData.RecordSelectors = ((bool)(resources.GetObject("dgrdData.RecordSelectors")));
			this.dgrdData.RecordSelectorWidth = ((int)(resources.GetObject("dgrdData.RecordSelectorWidth")));
			this.dgrdData.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("dgrdData.RightToLeft")));
			this.dgrdData.RowDivider.Color = ((System.Drawing.Color)(resources.GetObject("resource.Color")));
			this.dgrdData.RowDivider.Style = ((C1.Win.C1TrueDBGrid.LineStyleEnum)(resources.GetObject("resource.Style")));
			this.dgrdData.RowHeight = ((int)(resources.GetObject("dgrdData.RowHeight")));
			this.dgrdData.RowSubDividerColor = ((System.Drawing.Color)(resources.GetObject("dgrdData.RowSubDividerColor")));
			this.dgrdData.ScrollTips = ((bool)(resources.GetObject("dgrdData.ScrollTips")));
			this.dgrdData.ScrollTrack = ((bool)(resources.GetObject("dgrdData.ScrollTrack")));
			this.dgrdData.Size = ((System.Drawing.Size)(resources.GetObject("dgrdData.Size")));
			this.dgrdData.SpringMode = ((bool)(resources.GetObject("dgrdData.SpringMode")));
			this.dgrdData.TabAcrossSplits = ((bool)(resources.GetObject("dgrdData.TabAcrossSplits")));
			this.dgrdData.TabIndex = ((int)(resources.GetObject("dgrdData.TabIndex")));
			this.dgrdData.Text = resources.GetString("dgrdData.Text");
			this.dgrdData.ViewCaptionWidth = ((int)(resources.GetObject("dgrdData.ViewCaptionWidth")));
			this.dgrdData.ViewColumnWidth = ((int)(resources.GetObject("dgrdData.ViewColumnWidth")));
			this.dgrdData.Visible = ((bool)(resources.GetObject("dgrdData.Visible")));
			this.dgrdData.WrapCellPointer = ((bool)(resources.GetObject("dgrdData.WrapCellPointer")));
			this.dgrdData.AfterColUpdate += new C1.Win.C1TrueDBGrid.ColEventHandler(this.dgrdData_AfterColUpdate);
			this.dgrdData.PropBag = resources.GetString("dgrdData.PropBag");
			// 
			// chkSelectAll
			// 
			this.chkSelectAll.AccessibleDescription = resources.GetString("chkSelectAll.AccessibleDescription");
			this.chkSelectAll.AccessibleName = resources.GetString("chkSelectAll.AccessibleName");
			this.chkSelectAll.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("chkSelectAll.Anchor")));
			this.chkSelectAll.Appearance = ((System.Windows.Forms.Appearance)(resources.GetObject("chkSelectAll.Appearance")));
			this.chkSelectAll.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("chkSelectAll.BackgroundImage")));
			this.chkSelectAll.CheckAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkSelectAll.CheckAlign")));
			this.chkSelectAll.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("chkSelectAll.Dock")));
			this.chkSelectAll.Enabled = ((bool)(resources.GetObject("chkSelectAll.Enabled")));
			this.chkSelectAll.FlatStyle = ((System.Windows.Forms.FlatStyle)(resources.GetObject("chkSelectAll.FlatStyle")));
			this.chkSelectAll.Font = ((System.Drawing.Font)(resources.GetObject("chkSelectAll.Font")));
			this.chkSelectAll.Image = ((System.Drawing.Image)(resources.GetObject("chkSelectAll.Image")));
			this.chkSelectAll.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkSelectAll.ImageAlign")));
			this.chkSelectAll.ImageIndex = ((int)(resources.GetObject("chkSelectAll.ImageIndex")));
			this.chkSelectAll.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("chkSelectAll.ImeMode")));
			this.chkSelectAll.Location = ((System.Drawing.Point)(resources.GetObject("chkSelectAll.Location")));
			this.chkSelectAll.Name = "chkSelectAll";
			this.chkSelectAll.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("chkSelectAll.RightToLeft")));
			this.chkSelectAll.Size = ((System.Drawing.Size)(resources.GetObject("chkSelectAll.Size")));
			this.chkSelectAll.TabIndex = ((int)(resources.GetObject("chkSelectAll.TabIndex")));
			this.chkSelectAll.Text = resources.GetString("chkSelectAll.Text");
			this.chkSelectAll.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("chkSelectAll.TextAlign")));
			this.chkSelectAll.Visible = ((bool)(resources.GetObject("chkSelectAll.Visible")));
			this.chkSelectAll.Enter += new System.EventHandler(this.chkSelectAll_Enter);
			this.chkSelectAll.Leave += new System.EventHandler(this.chkSelectAll_Leave);
			this.chkSelectAll.CheckedChanged += new System.EventHandler(this.chkSelectAll_CheckedChanged);
			// 
			// DeliveryApproval
			// 
			this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
			this.AccessibleName = resources.GetString("$this.AccessibleName");
			this.AutoScaleBaseSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScaleBaseSize")));
			this.AutoScroll = ((bool)(resources.GetObject("$this.AutoScroll")));
			this.AutoScrollMargin = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
			this.AutoScrollMinSize = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
			this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
			this.ClientSize = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
			this.Controls.Add(this.btnShowDetail);
			this.Controls.Add(this.btnSearch);
			this.Controls.Add(this.btnHelp);
			this.Controls.Add(this.btnApprove);
			this.Controls.Add(this.btnClose);
			this.Controls.Add(this.dgrdData);
			this.Controls.Add(this.txtPartName);
			this.Controls.Add(this.txtModel);
			this.Controls.Add(this.txtPartNumber);
			this.Controls.Add(this.txtCategory);
			this.Controls.Add(this.txtPONo);
			this.Controls.Add(this.chkSelectAll);
			this.Controls.Add(this.btnPartName);
			this.Controls.Add(this.lblPartName);
			this.Controls.Add(this.btnPartNumber);
			this.Controls.Add(this.lblPartNumber);
			this.Controls.Add(this.lblModel);
			this.Controls.Add(this.lblCategory);
			this.Controls.Add(this.btnCategory);
			this.Controls.Add(this.dtmToDate);
			this.Controls.Add(this.dtmFromDate);
			this.Controls.Add(this.lblToStartDate);
			this.Controls.Add(this.lblFromStartDate);
			this.Controls.Add(this.btnPONo);
			this.Controls.Add(this.lblPONo);
			this.Enabled = ((bool)(resources.GetObject("$this.Enabled")));
			this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
			this.Location = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
			this.MaximumSize = ((System.Drawing.Size)(resources.GetObject("$this.MaximumSize")));
			this.MinimumSize = ((System.Drawing.Size)(resources.GetObject("$this.MinimumSize")));
			this.Name = "DeliveryApproval";
			this.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
			this.StartPosition = ((System.Windows.Forms.FormStartPosition)(resources.GetObject("$this.StartPosition")));
			this.Text = resources.GetString("$this.Text");
			this.Load += new System.EventHandler(this.DeliveryApproval_Load);
			((System.ComponentModel.ISupportInitialize)(this.dtmToDate)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dtmFromDate)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.dgrdData)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void DeliveryApproval_Load(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".DeliveryApproval_Load()";
			try
			{
				//Set authorization for user
				
				Security objSecurity = new Security();
				this.Name = THIS;
				if(objSecurity.SetRightForUserOnForm(this, SystemProperty.UserName) == 0)
				{
					this.Close();
					// You don't have the right to view this item
					PCSMessageBox.Show(ErrorCode.MESSAGE_YOU_HAVE_NO_RIGHT_TO_VIEW, MessageBoxIcon.Warning);
					return;
				}
				dtbGridLayOut = FormControlComponents.StoreGridLayout(dgrdData);
				
				txtPONo.Tag = string.Empty;
				txtCategory.Tag = string.Empty;
				txtPartNumber.Tag = string.Empty;
				dtmFromDate.FormatType = FormatTypeEnum.CustomFormat;
				dtmFromDate.CustomFormat = Constants.DATETIME_FORMAT_HOUR;
				dtmToDate.FormatType = FormatTypeEnum.CustomFormat;
				dtmToDate.CustomFormat = Constants.DATETIME_FORMAT_HOUR;
			}
			catch (PCSException ex)
			{
				// Displays the error message if throwed from PCSException.
				PCSMessageBox.Show(ex.mCode, MessageBoxIcon.Error);
				try
				{
					// Log error message into log file.
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					// Show message if logger has an error.
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// Displays the error message if throwed from system.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxIcon.Error);
				try
				{
					// Log error message into log file.
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					// Show message if logger has an error.
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxIcon.Error);
				}
			}
		}
		
		private void txtPONo_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPONo_Validating()";
			try
			{
				if (!txtPONo.Modified) return;
				if (txtPONo.Text.Trim() == string.Empty)
				{
					txtPONo.Tag = string.Empty;
					return;
				}
				DataRowView drvResult = FormControlComponents.OpenSearchForm(PO_PurchaseOrderMasterTable.TABLE_NAME, PO_PurchaseOrderMasterTable.CODE_FLD, txtPONo.Text.Trim(), null, false);
				if (drvResult != null)
				{
					txtPONo.Text = drvResult[PO_PurchaseOrderMasterTable.CODE_FLD].ToString();
					txtPONo.Tag = drvResult[PO_PurchaseOrderMasterTable.PURCHASEORDERMASTERID_FLD];
				}
				else
					e.Cancel = true;
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtPONo_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPONo_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnPONo_Click(null, null);
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void btnPONo_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnPONo_Click()";
			try
			{
				DataRowView drvResult = FormControlComponents.OpenSearchForm(PO_PurchaseOrderMasterTable.TABLE_NAME, PO_PurchaseOrderMasterTable.CODE_FLD, txtPONo.Text.Trim(), null, true);
				if (drvResult != null)
				{
					txtPONo.Text = drvResult[PO_PurchaseOrderMasterTable.CODE_FLD].ToString();
					txtPONo.Tag = drvResult[PO_PurchaseOrderMasterTable.PURCHASEORDERMASTERID_FLD];
				}
				else
					txtPONo.Focus();
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtCategory_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtCategory_Validating()";
			try
			{
				if (!txtCategory.Modified) return;
				if (txtCategory.Text.Trim() == string.Empty)
				{
					txtCategory.Tag = string.Empty;
					txtPartNumber.Text = string.Empty;
					txtPartNumber.Tag = string.Empty;
					txtPartName.Text = string.Empty;
					return;
				}
				DataRowView drvResult = FormControlComponents.OpenSearchForm(ITM_CategoryTable.TABLE_NAME, ITM_CategoryTable.CODE_FLD, txtCategory.Text.Trim(), null, false);
				if (drvResult != null)
				{
					txtCategory.Text = drvResult[ITM_CategoryTable.CODE_FLD].ToString();
					txtCategory.Tag = drvResult[ITM_CategoryTable.CATEGORYID_FLD];
					txtPartNumber.Text = string.Empty;
					txtPartNumber.Tag = string.Empty;
					txtPartName.Text = string.Empty;
				}
				else
					e.Cancel = true;
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtCategory_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtCategory_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnCategory_Click(null, null);
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void btnCategory_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnCategory_Click()";
			try
			{
				DataRowView drvResult = FormControlComponents.OpenSearchForm(ITM_CategoryTable.TABLE_NAME, ITM_CategoryTable.CODE_FLD, txtCategory.Text.Trim(), null, true);
				if (drvResult != null)
				{
					txtCategory.Text = drvResult[ITM_CategoryTable.CODE_FLD].ToString();
					txtCategory.Tag = drvResult[ITM_CategoryTable.CATEGORYID_FLD];
					txtPartNumber.Text = string.Empty;
					txtPartNumber.Tag = string.Empty;
					txtPartName.Text = string.Empty;
				}
				else
					txtPONo.Focus();
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtPartNumber_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPONo_Validating()";
			try
			{
				if (!txtPartNumber.Modified) return;
				if (txtPartNumber.Text.Trim() == string.Empty)
				{
					txtPartNumber.Tag = string.Empty;
					txtPartName.Text = string.Empty;
					return;
				}
				string strFilter = string.Empty;
				
				if(txtCategory.Tag != null && txtCategory.Tag.ToString() != string.Empty)
					strFilter = ITM_ProductTable.TABLE_NAME + "." + ITM_ProductTable.CATEGORYID_FLD + " = " + txtCategory.Tag.ToString();
				DataTable dtbData = FormControlComponents.OpenSearchFormForMultiSelectedRow(ITM_ProductTable.TABLE_NAME, ITM_ProductTable.CODE_FLD, txtPartNumber.Text, strFilter, false);
				if (dtbData != null && dtbData.Rows.Count > 0)
				{
					StringBuilder sbID = new StringBuilder();
					foreach (DataRow drowData in dtbData.Rows)
						sbID.Append(drowData[ITM_ProductTable.PRODUCTID_FLD].ToString()).Append(",");
					txtPartNumber.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.CODE_FLD].ToString();
					txtPartNumber.Tag = sbID.ToString(0, sbID.Length - 1);
					txtPartName.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.DESCRIPTION_FLD].ToString();
				}
				else
					e.Cancel = true;
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtPartNumber_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPartNumber_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnPartNumber_Click(null, null);
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void btnPartNumber_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnPartNumber_Click()";
			try
			{
				string strFilter = string.Empty;
				
				if(txtCategory.Tag != null && txtCategory.Tag.ToString() != string.Empty)
					strFilter = ITM_ProductTable.TABLE_NAME + "." + ITM_ProductTable.CATEGORYID_FLD + "=" + txtCategory.Tag.ToString();
				DataTable dtbData = FormControlComponents.OpenSearchFormForMultiSelectedRow(ITM_ProductTable.TABLE_NAME, ITM_ProductTable.CODE_FLD, txtPartNumber.Text, strFilter, true);
				if (dtbData != null && dtbData.Rows.Count > 0)
				{
					StringBuilder sbID = new StringBuilder();
					foreach (DataRow drowData in dtbData.Rows)
						sbID.Append(drowData[ITM_ProductTable.PRODUCTID_FLD].ToString()).Append(",");
					txtPartNumber.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.CODE_FLD].ToString();
					txtPartNumber.Tag = sbID.ToString(0, sbID.Length - 1);
					txtPartName.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.DESCRIPTION_FLD].ToString();
				}
				else
					txtPartNumber.Focus();
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtPartName_Validating(object sender, CancelEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPartName_Validating()";
			try
			{
				if (!txtPartName.Modified) return;
				if (txtPartName.Text.Trim() == string.Empty)
				{
					txtPartNumber.Text = string.Empty;
					txtPartNumber.Tag = null;
					txtPartName.Text = string.Empty;
					return;
				}
				string strFilter = string.Empty;
				
				if(txtCategory.Tag != null && txtCategory.Tag.ToString() != string.Empty)
					strFilter = ITM_ProductTable.TABLE_NAME + "." + ITM_ProductTable.CATEGORYID_FLD + "=" + txtCategory.Tag.ToString();
				DataTable dtbData = FormControlComponents.OpenSearchFormForMultiSelectedRow(ITM_ProductTable.TABLE_NAME, ITM_ProductTable.CODE_FLD, txtPartNumber.Text, strFilter, false);
				if (dtbData != null && dtbData.Rows.Count > 0)
				{
					StringBuilder sbID = new StringBuilder();
					foreach (DataRow drowData in dtbData.Rows)
						sbID.Append(drowData[ITM_ProductTable.PRODUCTID_FLD].ToString()).Append(",");
					txtPartNumber.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.CODE_FLD].ToString();
					txtPartNumber.Tag = sbID.ToString(0, sbID.Length - 1);
					txtPartName.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.DESCRIPTION_FLD].ToString();
				}
				else
					e.Cancel = true;
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void txtPartName_KeyDown(object sender, KeyEventArgs e)
		{
			const string METHOD_NAME = THIS + ".txtPartName_KeyDown()";
			try
			{
				if (e.KeyCode == Keys.F4)
					btnPartName_Click(null, null);
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void btnPartName_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnPartName_Click()";
			try
			{
				string strFilter = string.Empty;
				
				if(txtCategory.Tag != null && txtCategory.Tag.ToString() != string.Empty)
					strFilter = ITM_ProductTable.TABLE_NAME + "." + ITM_ProductTable.CATEGORYID_FLD + "=" + txtCategory.Tag.ToString();
				DataTable dtbData = FormControlComponents.OpenSearchFormForMultiSelectedRow(ITM_ProductTable.TABLE_NAME, ITM_ProductTable.CODE_FLD, txtPartNumber.Text, strFilter, true);
				if (dtbData != null && dtbData.Rows.Count > 0)
				{
					StringBuilder sbID = new StringBuilder();
					foreach (DataRow drowData in dtbData.Rows)
						sbID.Append(drowData[ITM_ProductTable.PRODUCTID_FLD].ToString()).Append(",");
					txtPartNumber.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.CODE_FLD].ToString();
					txtPartNumber.Tag = sbID.ToString(0, sbID.Length - 1);
					txtPartName.Text = (dtbData.Rows.Count > 1) ? "Multi Selection" : dtbData.Rows[0][ITM_ProductTable.DESCRIPTION_FLD].ToString();
				}
				else
					txtPartName.Focus();
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}
		private void btnSearch_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnSearch_Click()";
			try
			{
				Cursor = Cursors.WaitCursor;
				DeliveryApprovalBO boDeliveryApprove = new DeliveryApprovalBO();
				DateTime dtmStartDate = DateTime.MinValue, dtmEndDate = DateTime.MinValue;
				try
				{
					dtmStartDate = Convert.ToDateTime(dtmFromDate.Value);
				}
				catch{}
				try
				{
					dtmEndDate = Convert.ToDateTime(dtmToDate.Value);
				}
				catch{}
				int intPOMasterID = 0, intCategoryID = 0;
				try
				{
					intPOMasterID = Convert.ToInt32(txtPONo.Tag);
				}
				catch{}
				try
				{
					intCategoryID = Convert.ToInt32(txtCategory.Tag);
				}
				catch{}
				dstData = boDeliveryApprove.SearchDeliverySchedule(dtmStartDate, dtmEndDate, 
					intPOMasterID, intCategoryID, txtPartNumber.Tag.ToString());
				dstData.AcceptChanges();
				BindDataToGrid();
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			finally
			{
				Cursor = Cursors.Default;
			}
		}

		private void btnShowDetail_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnShowDetail_Click()";
			try
			{
				if (dgrdData.RowCount > 0)
				{
					PurchaseOrder frmPurchaseOrder = new PurchaseOrder();
					frmPurchaseOrder.Show();
					frmPurchaseOrder.LoadMaster((int) dgrdData[dgrdData.Row, PO_PurchaseOrderMasterTable.PURCHASEORDERMASTERID_FLD]);
				}
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void btnApprove_Click(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".btnApprove_Click()";
			try
			{
				if (dstData == null || dstData.Tables.Count == 0 || dstData.Tables[0].Rows.Count == 0)
					return;
				Cursor = Cursors.WaitCursor;
				DeliveryApprovalBO boApproval = new DeliveryApprovalBO();
				string strCancelList = string.Empty, strApprovedList = string.Empty;
				DataTable dtbModified = dstData.Tables[0].GetChanges(DataRowState.Modified);
				foreach (DataRow drowData in dtbModified.Rows)
				{
					bool blnCancel = Convert.ToBoolean(drowData[PO_DeliveryScheduleTable.CANCELDELIVERY_FLD]);
					if (blnCancel)
						strCancelList += drowData[PO_DeliveryScheduleTable.DELIVERYSCHEDULEID_FLD] + ",";
					else
						strApprovedList += drowData[PO_DeliveryScheduleTable.DELIVERYSCHEDULEID_FLD] + ",";
				}
				boApproval.UpdateDelivery(strCancelList, strApprovedList);
				btnSearch_Click(null, null);
				PCSMessageBox.Show(ErrorCode.MESSAGE_AFTER_SAVE_DATA);
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			finally
			{
				Cursor = Cursors.Default;
			}
		}

		private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
		{
			const string METHOD_NAME = THIS + ".chkSelectAll_CheckedChanged()";
			try
			{
				Cursor = Cursors.WaitCursor;
				if (blnStateOfCheck)
					foreach (DataRow drowData in dstData.Tables[0].Rows)
						if (drowData.RowState != DataRowState.Deleted)
							drowData[PO_DeliveryScheduleTable.CANCELDELIVERY_FLD] = chkSelectAll.Checked;
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			finally
			{
				Cursor = Cursors.Default;
			}
		}
		private void BindDataToGrid()
		{
			dgrdData.DataSource = dstData.Tables[0];
			FormControlComponents.RestoreGridLayout(dgrdData, dtbGridLayOut);

			foreach (C1DisplayColumn c1Col in dgrdData.Splits[0].DisplayColumns)
				c1Col.Locked = true;
			dgrdData.Columns[PO_PurchaseOrderDetailTable.ORDERQUANTITY_FLD].NumberFormat = Constants.DECIMAL_NUMBERFORMAT;
			dgrdData.Columns[PO_DeliveryScheduleTable.DELIVERYQUANTITY_FLD].NumberFormat = Constants.DECIMAL_NUMBERFORMAT;
			dgrdData.Columns[PO_DeliveryScheduleTable.SCHEDULEDATE_FLD].NumberFormat = Constants.DATETIME_FORMAT_HOUR;
			dgrdData.Splits[0].DisplayColumns[PO_DeliveryScheduleTable.CANCELDELIVERY_FLD].Locked = false;
		}

		private void chkSelectAll_Enter(object sender, System.EventArgs e)
		{
			blnStateOfCheck = true;
		}

		private void chkSelectAll_Leave(object sender, System.EventArgs e)
		{
			blnStateOfCheck = false;
		}

		private void btnClose_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}

		private void dgrdData_AfterColUpdate(object sender, ColEventArgs e)
		{
			const string METHOD_NAME = THIS + ".dgrdData_AfterColUpdate()";
			try
			{
				if (e.Column.DataColumn.DataField == PO_DeliveryScheduleTable.CANCELDELIVERY_FLD)
				{
					for (int i =0; i <dgrdData.RowCount; i++)
					{
						if (!Convert.ToBoolean(dgrdData[i, PO_DeliveryScheduleTable.CANCELDELIVERY_FLD]))
						{
							chkSelectAll.Checked = false;
							return;
						}
					}
					chkSelectAll.Checked = true;
				}
			}
			catch (PCSException ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ex.mCode, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex.CauseException, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
			catch (Exception ex)
			{
				// displays the error message.
				PCSMessageBox.Show(ErrorCode.OTHER_ERROR, MessageBoxButtons.OK, MessageBoxIcon.Error);
				// log message.
				try
				{
					Logger.LogMessage(ex, METHOD_NAME, Level.ERROR);
				}
				catch
				{
					PCSMessageBox.Show(ErrorCode.LOG_EXCEPTION, MessageBoxButtons.OK, MessageBoxIcon.Error);
				}
			}
		}

		private void lblPONo_Click(object sender, System.EventArgs e)
		{
		
		}

		private void lblPartNumber_Click(object sender, System.EventArgs e)
		{
		
		}
	}
}
